package com.example.demoapi.api.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Hu
 * @date 2023/2/6
 * @apiNote
 */
@Data
public class Details {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long detailsId;
    private Long userId;
    private BigDecimal amount;
    private String info;
    private Date createTime;
    private Date endTime;
    private long orderId;
    @TableField(exist = false)
    private Orders orders;
    @TableField(exist = false)
    private InfoMapping infoMapping;
}
